package cn.itsource.basic.domain.aplipayCommon;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取yml秘钥和appid的
 */
@Component
@ConfigurationProperties(prefix = "alipay.params") //解耦
@Data
public class AlipayParams {
    private String merchantPrivateKey; //自己的私钥
    private String appid; //商户的appid账号
    private String alipayPublicKey; //阿里云公钥
}
